import BaseComponent from "http://component.119safe.cn/component/base.js";

new class Test extends BaseComponent
{
	render()
	{
		super.render(this.constructor.name);

		window.test_abc = function (target) { alert($(target).html()); }
	}

	Content = `
<div>

<button onclick="window.test_abc(this)">abc</button>
测试一下
<a href="http://www.baidu.com">baidu</a>

</div>
`;
}().render();
